package com.hbpa.util;
 

import java.sql.*;

public class JdbcUtil
{
    public static void close(ResultSet rs, Statement st, Connection con)
    {
        try
        {
            rs.close();
        }catch(Exception e)
        {
        }
        
        close(st, con);
    }
    
    public static void close(Statement st, Connection con)
    {
        try
        {
            st.close();
        }catch(Exception e)
        {
        }
        
        try
        {
            con.close();
        }catch(Exception e)
        {
        }
    }
}